//
//  FCLQueue.h
//  FCLCommon
//
//  Created by arden on 11/24/11.
//  Copyright 2011 Fried Chicken Legs. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface FCLQueue : NSObject<NSFastEnumeration> {
	id* data;
	NSInteger maxSize;
	BOOL forceEnqueue;
	int currentIndex;
}

-(id) initWithCapacity: (NSInteger) capacity;
-(void) enqueue:(id) obj;
-(id) dequeue;
-(int) count;
-(void) clear;

@property (nonatomic, readonly) NSInteger maxSize;
@property (nonatomic, readwrite) BOOL forceEnqueue;

@end
